package Collection;

import java.util.Arrays;
import java.util.List;

public class ArreyToList {
    public static void main(String[] args) {
        String[] arrey={"one","two","three","four","five"};
        System.out.println(Arrays.toString(arrey));

        List<String> list= Arrays.asList(arrey);
        System.out.println(list);

        arrey[1]="2";
        System.out.println(Arrays.toString(arrey));

    //list.add("111");
    }
}
